package com.xuebang.admin.entity;

import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table
public class OperatorGroups {
	
	@Id
	private Long groupId;
	
	@Column(name="group_name")
	private String groupName;
	
	@Column
	private String descr	;//	描述信息
	
	@Column(name="create_date")
	private Date createDate;
	
	@Column(name="modify_date")
	private Date modifyDate;
	
	private List<OperatorRules> operatorRulesList;
	
	/** 20140211 add by xy start..*/
	private String relatedColumns;
	/** 20140211 add by xy end..*/
	
	public String getDescr() {
		return descr;
	}

	public void setDescr(String descr) {
		this.descr = descr;
	}

	public List<OperatorRules> getOperatorRulesList() {
		return operatorRulesList;
	}

	public void setOperatorRulesList(List<OperatorRules> operatorRulesList) {
		this.operatorRulesList = operatorRulesList;
	}

	public Long getGroupId() {
		return groupId;
	}

	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getRelatedColumns() {
		return relatedColumns;
	}

	public void setRelatedColumns(String relatedColumns) {
		this.relatedColumns = relatedColumns;
	}
	
}
